/**
 * @Author yinyunqi
 * @date 2017年12月22日
 * @Content 家庭信息处理持久层接口
 */
package com.yongqi.mapper;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.cache.annotation.CacheConfig;

import com.yongqi.model.Family;
@Mapper
@CacheConfig(cacheNames = "families")
public interface FamilyMapper {
    public void insertFamily(Family family);
    public void registerFamily(Family family);
    public Map<String, String> queryFamilyByAccount(String familyaccount);
    public Family getgetFamilyByAccount(String familyaccount);
    //@Cacheable(value="signonCache", key="'petstore:signon:'+#familyaccount", unless="#result==null")
    public List<Family> backFamilyQuery(Map<String, String> map);
    public List<Family> backFamilyDistributionData();
    public void familyUploadIcon(Map<String, String> map);
    public void familyEditInfo(Map<String, String> map);
    public void familyEditIcon (Map<String, String> map);
    public void emailValidation(Map<String, String> map);
    public void changePwd(Map<String, String> map);
}

